package com.yd;

/**
 * Created by john on 16/3/9.
 */
public class PokerCard implements Card {

    private final float count;
    private final String name;

    public PokerCard(String name, float count) {
        this.name = name;
        this.count = count;
    }

    public float getCount() {
        return count;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "PokerCard{" +
                "count=" + count +
                ", name='" + name + '\'' +
                '}';
    }
}
